package ro.msg.quiz.Connection;
import java.sql.*;
/**
 * 
 * @author Alexandra
 *
 * Data access object class
 */
public class DAO {

	private static DAO m_DAOInstance;
    private static final String m_username = "admin";
    private static final String m_password= "admin";
    private static final String m_host = "jdbc:derby://localhost:1527/questionnaire";
    
    /**
     * Constructor
     */
    private DAO() {
    }
    
    public static DAO getInstance() {
        if( m_DAOInstance == null ) {
            m_DAOInstance = new DAO();
        }
        return m_DAOInstance;
    }
}
